<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>二手商品求购</title>
	<link rel="stylesheet" type="text/css" href="/css/goods.css">
</head>
<body>

	<!-- 导航 -->
	<header class="navbar">
		<div class="nav-info">
			<a class="username" href="infomation.html">用户</a>
			<a class="goodsshelf" href="/register.html">||&nbsp;&nbsp;&nbsp;注册</a>
			<a class="goodsshelf" href="cart.html">||&nbsp;&nbsp;&nbsp;我的购物车</a>
			<a class="logout" href="/register.html">[ 退 出 ]</a>
		</div> <!-- nav-info -->
		<form class="nav-search">
            <a><img class="logo" src="/image/title.jpg"></a>
			<div class="search-form">
				<a class="search-logo">| &nbsp;<img src="/image/search.png"></a>
				<input type="search" class="searchIn" placeholder="搜二手物品...">
				<button class="searchBtn">搜索</button>
			</div>
		</form><!--  nav-search -->
		<ul class="menu">
			<li><a href="main.html">首页</a></li>
			<li><a href="goods.html">二手商品</a></li>
			<li><a class="active" href="request.html">求购区</a></li>
		</ul>			
	</header>

	<!-- 图书分类 -->
	<div id="container">
		<div id="goods-menu">
			<h4>物品分类</h4>
			<ul class="goods-class">
				<li><a href="#book" title="二手书籍">书籍</a></li>
				<li><a href="#bed" title="床上用品">床上用品</a></li>
				<li><a href="#wash" title="洗漱用品">洗漱用品</a></li>
				<li><a href="#bike" title="交通工具">交通工具</a></li>					
				<li><a href="#other" title="其他">其他</a></li>									
			</ul>
		</div>
        <div id="goods-menu-toggle">
			查 看 菜 单
			<div id="toggle-btn"></div>
		</div>
		<div id="goods-container">
			<h3 class="goods-title"><a href="#">| 所有求购二手商品</a></h3>
				<ul class="goods-lists">
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/book.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">计算机组成原理</h5>
							<span class="goods-detail">唐朔飞 著 第二版</span>
						</a>
						<span class="goods-price">￥12.9
                            <a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>
	
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/book1.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">计算机网络</h5>
							<span class="goods-detail">谢希仁 著 第七版</span>
						</a>
						<span class="goods-price">￥13.8
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>
					
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/bed1.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">床上三件套</h5>
							<span class="goods-detail">颜色深蓝 无异味</span>
						</a>
						<span class="goods-price">￥100.9
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>
	
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/bed2.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">被套</h5>
							<span class="goods-detail">条纹 整洁无异味</span>
						</a>
						<span class="goods-price">￥30.8
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>	
					
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/lux.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">沐浴露</h5>
							<span class="goods-detail">力士沐浴露 玫瑰花香 九成新</span>
						</a>
						<span class="goods-price">￥5.9
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>
	
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/lux1.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">强生牛奶沐浴露</h5>
							<span class="goods-detail">七成新 女生自用</span>
						</a>
						<span class="goods-price">￥8.8
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>	
					
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/lux2.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">舒肤佳</h5>
							<span class="goods-detail">品质保证 未开封</span>
						</a>
						<span class="goods-price">￥8.8
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>	
					
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/bike.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">自行车</h5>
							<span class="goods-detail">浅蓝 七成新</span>
						</a>
						<span class="goods-price">￥100.9
							<a href="#" class="goods-contact">立即联系求书者</a>>
						</span>
					</li>
	
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/bike1.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">平衡车</h5>
							<span class="goods-detail">保修 六成新</span>
						</a>
						<span class="goods-price">￥400.8
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>		

					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/ob1.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">滑板</h5>
							<span class="goods-detail">九成新</span>
						</a>
						<span class="goods-price">￥100.9
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>
	
					<li class="goods-list">
						<a href="#" class="goods-pic">
							<img src="/image/ob2.jpg">
						</a>
						<a href="#" class="goods-info">
							<h5 class="goods-name">联想笔记本</h5>
							<span class="goods-detail">可保修 七成新 无磕碰痕迹</span>
						</a>
						<span class="goods-price">￥1000.8
							<a href="#" class="goods-contact">立即联系求书者</a>
						</span>
					</li>				

				</ul><!--  book-list end -->
			</div><!--  book-part end -->

			<span class="page-btn">
				<a href="#" class="page-top">首页</a>
				<a href="#" class="page-pre">上一页</a>
				<a href="#" class="page-next">下一页</a>
				<a href="#" class="page-end">尾页</a>
			</span>	

	</div>


	<footer>
		<a href="#">©2021-7 二手物品交易</a>
		<a href="#">意见反馈&nbsp;&nbsp;&nbsp;联系我们&nbsp;&nbsp;&nbsp;隐私权声明&nbsp;&nbsp;&nbsp;使用条款</a>
	</footer>
	<script type="text/javascript" src="/js/jquery-3.2.js"></script>
	<script type="text/javascript">
		$(function(){
				//菜单特效
				var index = 0
				$("#goods-menu-toggle").on("click",function(){
					if (index ===0 ) {
						$("#goods-menu").css("left","1px");
						$(this).css("left","178px");
						index =1;
					}else{
						$("#goods-menu").css("left","-180px");
						$(this).css("left","1px");
						index=0;
					}
				});

				//点击菜单，对应类别颜色加深
				$(".book-class li").on("click",function(){
				//加粗当前点击的li
				$(this).css("font-weight","600").siblings("li").css("font-weight","500");
			});				
		})
	</script>
</body>
</html>